home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_100
/
161_01
/
fncall.c
< prev
next >
Wrap
C/C++ Source or Header
|
1985-08-28
|
437b
|
18 lines
#include "timer1.h"
short n;
int fn();
int (*pfn)() = &fn;
DO_STMT("fn call") fn(); OD;
DO_STMT("fn call w save") fns(); OD;
DO_STMT("fn w 1 arg") fn1(n); OD;
DO_STMT("fn w 2 arg") fn2(n, n); OD;
DO_STMT("fn w 3 arg") fn3(n, n, n); OD;
DO_STMT("fn call *") (*pfn)(); OD;
}
int fn() {}
int fns() {register int i; }
int fn1(a) int a; {}
int fn2(a, b) int a, b; {}
int fn3(a, b, c) int a, b, c; {}